//
//  NSString+Extension.h
//  meapp
//
//  Created by linjie on 16/2/18.
//  Copyright © 2016年 nd. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Extension)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat maxX;
@property (nonatomic, assign) CGFloat maxY;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;

-(void) setRoundStyle;


-(void)setShadow;

//设置阴影
-(void)setCellShadow:(long)height width:(long)width ;

//设置边框
-(void)setBorder:(float)borderWidth  cornerRadius:(float)cornerRadius;

-(void)setBorder:(float)borderWidth  cornerRadius:(float)cornerRadius color:(UIColor*)color;
-(void)addLabelToTop:(BOOL)isNeed ;
@end
